package com.chefu.order.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Range;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class ServerOrderPageParamVo {
    @ApiModelProperty(value = "订单编号")
    private Long orderId;
    @ApiModelProperty(value = "客户名称")
    private String userName;
    @ApiModelProperty(value = "订单状态(待接单0待服务1服务中2服务完成3)")
    @Range(max = 3)
    private Integer status;
    @ApiModelProperty(value = "订单时间(左区间)")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date lDate;
    @ApiModelProperty(value = "订单时间(右区间)")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date rDate;
    @ApiModelProperty(value = "服务商家名称")
    private String serverProName;
    @ApiModelProperty(value = "支付状态(待支付0已支付1已关闭2已取消3)")
    @Range(max = 3)
    private Integer payStatus;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getlDate() {
        return lDate;
    }

    public void setlDate(Date lDate) {
        this.lDate = lDate;
    }

    public Date getrDate() {
        return rDate;
    }

    public void setrDate(Date rDate) {
        this.rDate = rDate;
    }

    public String getServerProName() {
        return serverProName;
    }

    public void setServerProName(String serverProName) {
        this.serverProName = serverProName;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }
}
